#pragma once


struct XmltoolsOptions {
    int formatingEngine; //0 "QuickXml" 1 "StringXml") 2 (simplexml)"
    int maxIndentLevel;
    bool ensureConformity;
    bool ppAutoclose;
    bool applySpacePreserve;

    XmltoolsOptions():formatingEngine(0), maxIndentLevel(0), ensureConformity(true), ppAutoclose(true), applySpacePreserve(false)
    {

    }
};

extern XmltoolsOptions xmltoosOptions;

void nddPrettyPrintXmlIndentOnlyFast();
void nddLinearizeXmlFast();
void nddPrettyPrintXmlFast();
void nddPrettyPrintXmlAttrFast();
void optionsWin();
void loadOption();